﻿namespace Proxy
{
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "Proxy.ISETipoAgua")]
    public interface ISETipoAgua
    {

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoAgua/Listar", ReplyAction = "http://tempuri.org/ISETipoAgua/ListarResponse")]
        TipoAgua[] Listar();

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoAgua/Insertar", ReplyAction = "http://tempuri.org/ISETipoAgua/InsertarResponse")]
        int Insertar(TipoAgua request);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoAgua/Modificar", ReplyAction = "http://tempuri.org/ISETipoAgua/ModificarResponse")]
        void Modificar(TipoAgua request);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoAgua/Eliminar", ReplyAction = "http://tempuri.org/ISETipoAgua/EliminarResponse")]
        void Eliminar(int codigotipoagua);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoAgua/Buscar", ReplyAction = "http://tempuri.org/ISETipoAgua/BuscarResponse")]
        TipoAgua[] Buscar(string nombre);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoAgua/Obtener", ReplyAction = "http://tempuri.org/ISETipoAgua/ObtenerResponse")]
        TipoAgua Obtener(int codigotipoagua);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoAgua/ObtenerListItem", ReplyAction = "http://tempuri.org/ISETipoAgua/ObtenerListItemResponse")]
        ListItemInt[] ObtenerListItem();
    }

    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface ISETipoAguaChannel : ISETipoAgua, System.ServiceModel.IClientChannel
    {
    }

    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SETipoAguaClient : System.ServiceModel.ClientBase<ISETipoAgua>, ISETipoAgua
    {

        public SETipoAguaClient()
        {
        }

        public SETipoAguaClient(string endpointConfigurationName) :
            base(endpointConfigurationName)
        {
        }

        public SETipoAguaClient(string endpointConfigurationName, string remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public SETipoAguaClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public SETipoAguaClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
            base(binding, remoteAddress)
        {
        }

        public TipoAgua[] Listar()
        {
            return base.Channel.Listar();
        }

        public int Insertar(TipoAgua request)
        {
            return base.Channel.Insertar(request);
        }

        public void Modificar(TipoAgua request)
        {
            base.Channel.Modificar(request);
        }

        public void Eliminar(int codigotipoagua)
        {
            base.Channel.Eliminar(codigotipoagua);
        }

        public TipoAgua[] Buscar(string nombre)
        {
            return base.Channel.Buscar(nombre);
        }

        public TipoAgua Obtener(int codigotipoagua)
        {
            return base.Channel.Obtener(codigotipoagua);
        }

        public ListItemInt[] ObtenerListItem()
        {
            return base.Channel.ObtenerListItem();
        }
    }

}